#ifndef CLIENT_HANDLER_H
#define CLIENT_HANDLER_H

#define TAILLEBUFFER 255

#include "user.h"

void initClientHandler();
user_list* registerClient(int clientSocket);
int sendToUser(user_t* user, char* message);
void unregisterClient(user_list* client);
void handleClient(void* sock);


void contre_le_serveur(user_t* user);
void devineur(user_t* user);
void maitre(user_t* user);

#endif